class foo { public bar:(a:number)=>number = function(a){return a}; }